package com.q.springboot.framework.config.redisson;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface RMessage {

    /**
     * 消息队列
     *
     * @return
     */
    String queue();

    /**
     * 主题
     *
     * @return
     */
    String topic() default "system";

}
